﻿using System.ComponentModel;

namespace QMERP.Domain.Dtos
{
    public class EnterStockOrderResponse
    {
        public long Id { get; set; }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string Number { get; set; } = "";
        /// <summary>
        /// 业务单Id
        /// </summary>
        public long? BusinessOrderId { get; set; }
        /// <summary>
        /// 业务单号
        /// </summary>
        public string? BusinessOrderNumber { get; set; }
        /// <summary>
        /// 业务单类型
        /// </summary>
        public string? BusinessOrderType { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        public string BusinessType { get; set; } = "";
        /// <summary>
        /// 入库片数
        /// </summary>
        public int Qty { get; set; }
        /// <summary>
        /// 入库状态
        /// </summary>
        public string Status { get; set; } = "";
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        /// <summary>
        /// 创建人Id
        /// </summary>
        public long CreatedBy { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreatedByName { get; set; } = "";
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedOn { get; set; } = DateTime.Now;
        /// <summary>
        /// 更新人Id
        /// </summary>
        public long? UpdatedBy { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public string? UpdatedByName { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdatedOn { get; set; }
        /// <summary>
        /// 审核人Id
        /// </summary>
        public long? CheckedBy { get; set; }
        /// <summary>
        /// 审核人
        /// </summary>
        public string? CheckedByName { get; set; }
        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? CheckedOn { get; set; }
        public List<EnterStockOrderDetailResponse>? EnterStockOrderDetails { get; set; }
    }
}
